package com.sam.designpattern.mediator.source;

/**
 * @Author: Sam
 * @Date: 2022-08-02 11:14
 * @Description: 同事类的抽象父类
 */
public abstract class Colleague {

    private Mediator mediator;

    public Colleague(Mediator mediator) {
        this.mediator = mediator;
    }

    public Mediator getMediator() {
        return mediator;
    }
}
